﻿using System;
namespace ZX.HIS.Model
{
	/// <summary>
	/// DrupInfo:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class DrupInfo
	{
		public DrupInfo()
		{}
		#region Model
		private int _drugid;
		private int? _hospitalid;
        private string _drugtypeid;
		private string _drugname;
		private int? _drugisotc;
		private string _drugpackspece;
        private string _opendosename;
		private int? _drugstate;
        private int? _productid;
		private string _drugapprovalno;
		private string _drugbarcode;
        private string _ProductName;
        private string _DrugFrequencyName;
        private int? _DrugWareNumber;
        private int? _DrugInvThrVal;
        private decimal _DrugPurchasePrice;
        private decimal _DrugInvPresPrice;
        private decimal _StockHistPrice;
        
        /// <summary>
        /// 进货价
        /// </summary>
        public decimal DrugPurchasePrice
        {
            set { _DrugPurchasePrice = value; }
            get { return _DrugPurchasePrice; }
        }
        /// <summary>
        /// 处方价
        /// </summary>
        public decimal DrugInvPresPrice
        {
            set { _DrugInvPresPrice = value; }
            get { return _DrugInvPresPrice; }
        }
		/// <summary>
        /// 药品信息Id
		/// </summary>
		public int DrugId
		{
			set{ _drugid=value;}
			get{return _drugid;}
		}
		/// <summary>
        /// 诊所Id
		/// </summary>
		public int? HospitalId
		{
			set{ _hospitalid=value;}
			get{return _hospitalid;}
		}
		/// <summary>
        /// 药品类型Id
		/// </summary>
		public string DrugTypeId
		{
			set{ _drugtypeid=value;}
			get{return _drugtypeid;}
		}
		/// <summary>
        /// 药品名称
		/// </summary>
		public string DrugName
		{
			set{ _drugname=value;}
			get{return _drugname;}
		}
		/// <summary>
        /// 是否为OTC
		/// </summary>
		public int? DrugIsOtc
		{
			set{ _drugisotc=value;}
			get{return _drugisotc;}
		}
		/// <summary>
        /// 包装规格
		/// </summary>
		public string DrugPackSpece
		{
			set{ _drugpackspece=value;}
			get{return _drugpackspece;}
		}
		/// <summary>
        /// 开药量单位名称
		/// </summary>
		public string  OpenDoseName
		{
			set{ _opendosename=value;}
			get{return _opendosename;}
		}
		/// <summary>
        /// 状态（是否启用）
		/// </summary>
		public int? DrugState
		{
			set{ _drugstate=value;}
			get{return _drugstate;}
		}
		/// <summary>
        /// 生产厂家
		/// </summary>
        public int? ProductId
		{
			set{ _productid=value;}
			get{return _productid;}
		}
		/// <summary>
        /// 批准文号
		/// </summary>
		public string DrugApprovalNo
		{
			set{ _drugapprovalno=value;}
			get{return _drugapprovalno;}
		}
		/// <summary>
        /// 药品条形码（格式生成）
		/// </summary>
		public string DrugBarCode
		{
			set{ _drugbarcode=value;}
			get{return _drugbarcode;}
		}
        /// <summary>
        /// 厂家名称
        /// </summary>
        public string ProductName
		{
            set { _ProductName = value; }
            get { return _ProductName; }
		}
         /// <summary>
        /// 用药频率名称
        /// </summary>
        public string DrugFrequencyName
		{
			set{ _DrugFrequencyName=value;}
			get{return _DrugFrequencyName;}
		}
         /// <summary>
        /// 入库数量
        /// </summary>
        public int? DrugWareNumber
		{
			set{ _DrugWareNumber=value;}
			get{return _DrugWareNumber;}
		}
          /// <summary>
        /// 库存阈值
        /// </summary>
        public int ? DrugInvThrVal
		{
            set { _DrugInvThrVal = value; }
            get { return _DrugInvThrVal; }
		}
        
		#endregion Model

	}
}

